package cc.lj.internal.merchant.infrastructure.repository;

import cc.lj.internal.merchant.domain.contract.repository.IProperyResourcesRepository;
import cc.lj.internal.merchant.infrastructure.po.PropertyResourcesPO;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * 物业资源展位表　仓储实现
 * @author liangxifeng
 * @date 2021-12-14
 */
@Repository("propertyResourcesRespository")
public class PropertyResourcesRespository implements IProperyResourcesRepository {
    @Resource(name = "propertyResourcesMysqlRespository")
    private IProperyResourcesRepository resourcesRepository;

    @Override
    public PropertyResourcesPO getById(Integer id) {
        return resourcesRepository.getById(id);
    }
}
